package com.kaplan.hackathon.models;

import java.util.ArrayList;
import java.util.List;

public class Content {

	private String question;
	private String type;
	
	private List<SimpleChoice> answerList = new ArrayList<SimpleChoice>();
	
	
	
	public List getAnswerList() {
		return answerList;
	}

	public void setAnswerList(List answerList) {
		this.answerList = answerList;
	}

	private String title;
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	private int rightAnswer;

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getRightAnswer() {
		return rightAnswer;
	}

	public void setRightAnswer(int rightAnswer) {
		this.rightAnswer = rightAnswer;
	}
	
	public void addQuestionChoice(SimpleChoice answer) {
		this.answerList.add(answer);
	}
	
	
}
